<!--IKPHP SNS插件开始-->
<div class="sns-bar">

        	<div class="sns-bar-rec">
                <span class="rec">
                    <a class="bn-sharing  i a_share_btn" data-pic="{%if!(headimg is empty)%}{{headimg}}{%endif%}" data-title="{{title}}" data-desc="{{content}}" data-url="{{url(href)}}" href="javascript:;">分享到</a> &nbsp;&nbsp;
                </span>            
            	<div class="rec-sec">
                {% if !isRecommend %}
                <a href="{{url('home/sns/recommend')}}" title="推荐" 
                class="{%if visitor %}lnk-sharing i a_recommend_btn{% else %}lnk-sharing i a_show_login{%endif%}"  
                data-title="{{title}}"  data-desc="{{content}}"  data-tid="{{typeid}}" data-tuid="{{visitor['userid']}}" data-url="{{href}}" data-type="{{type}}">推荐</a>
                {% else %}
                已有推荐                 
                {% endif %}
                  <span class="rec-num" id="rec-num">{{count_recommend}}</span> 人
                </div>
            </div>
            
            <div class="sns-bar-fav">
            	{% if count_like %}
            	已有 <span  class="fav-num"><i id="like-num">{{count_like}}</i></span> 人喜欢
                {%else%}
                 <span  class="fav-num"><i id="like-num">0</i></span> 人喜欢
                {% endif %}
            	{% if !isLike %}
                <a href="{{url('home/sns/like')}}" title="标为喜欢" data-title="{{title}}"  data-desc="{{content}}"  data-tid="{{typeid}}" data-tuid="{{visitor['userid']}}" data-url="{{href}}" data-type="{{type}}" 
                class="{%if visitor %}btn-fav fav-cancel i a_like_btn{% else %}btn-fav fav-cancel i a_show_login{%endif%}">喜欢</a> 
            	{% endif %}
            </div> 
	<div class="clear"></div>                   
</div>